<template>
  <div>
    <ul >
      <li v-for="item in 10" :key="item" @click="$router.push(`/detail/${item}`)">房源{{item}}</li>
      
    </ul>
  </div>
</template>

<script>
export default {};
</script>

<style scoped>
* {
  padding: 0;
  margin: 0;
}
ul{
    text-align: center;
    
}
ul li {
  width: 100%;
  height: 100px;
  line-height: 100px;
  border: 1px solid #ccc;
}
</style>